package Strategy;

/**
 * @ProjectName: 23种设计模式
 * @Package: Strategy
 * @ClassName: Comparator
 * @Author: renhan
 * @Description:
 * @Date: 2020/11/10 17:42
 * @Version: 1.0
 */
@FunctionalInterface
public interface Comparator<T> {
    int compare(T o1, T o2);
}
